package com.ruoyi.web.controller.system;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ruoyi.system.service.DaochuService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("export")
public class DaochuController {

	private Logger logger = LoggerFactory.getLogger(getClass());
	@Autowired
	DaochuService ddService;

	@RequestMapping("daochu_bokuanbiao")
	public void daochu_bokuanbiao(@RequestParam("piciid") String ppPiciId,
			HttpServletRequest request, HttpServletResponse response){
		try {

			ddService.daochubokuanbiao(ppPiciId, request, response);
			
		} catch (Exception e) {
			logger.info(e.getMessage());
		}
	}

}
